package com.unittec.zk.sdk.exam.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.unittec.zk.sdk.root.domain.Paging;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 考试-分页 请求实体
 *
 * @author wangyongfeng
 * @date 2021/12/9
 */
@ApiModel("考试-分页请求实体")
@Data
public class Req201012 extends Paging implements Serializable {

    private static final long serialVersionUID = -4015790725858495432L;

    @ApiModelProperty("开放类型：1完全开放 2指定部门")
    private Integer openType;

    @ApiModelProperty("开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date endTime;

    @ApiModelProperty("考试题目")
    private String title;
}